package BaseTest

object test {


  def add(x: Int, y: Double): Double = {
    x + y
  }

  def add1(x: Int, y: Double) = {
    x + y
  }


  def add2(x: Int, y: Double): Unit = {
    x + y
  }

  def add3(x: Int, y: Double) {
    x + y
  }

  def main(args: Array[String]): Unit = {
    var x = 5
    var y = 5.5

    println(add(x, y))
    println(add1(x, y))
    println(add2(x, y))
    println(add3(x, y))

  }
}
